/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package sysmodel.provider;

import java.util.ArrayList;
import java.util.Collection;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.edit.provider.ChangeNotifier;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
import org.eclipse.emf.edit.provider.IChangeNotifier;
import org.eclipse.emf.edit.provider.IDisposable;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.INotifyChangedListener;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;

import sysmodel.util.SysmodelAdapterFactory;

/**
 * This is the factory that is used to provide the interfaces needed to support Viewers.
 * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
 * The adapters also support Eclipse property sheets.
 * Note that most of the adapters are shared among multiple instances.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public class SysmodelItemProviderAdapterFactory extends SysmodelAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
	/**
	 * This keeps track of the root adapter factory that delegates to this adapter factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ComposedAdapterFactory parentAdapterFactory;

	/**
	 * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected IChangeNotifier changeNotifier = new ChangeNotifier();

	/**
	 * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected Collection supportedTypes = new ArrayList();

	/**
	 * This constructs an instance.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public SysmodelItemProviderAdapterFactory() {
		supportedTypes.add(IEditingDomainItemProvider.class);
		supportedTypes.add(IStructuredItemContentProvider.class);
		supportedTypes.add(ITreeItemContentProvider.class);
		supportedTypes.add(IItemLabelProvider.class);
		supportedTypes.add(IItemPropertySource.class);
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.SystemModel} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SystemModelItemProvider systemModelItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.SystemModel}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createSystemModelAdapter() {
		if (systemModelItemProvider == null) {
			systemModelItemProvider = new SystemModelItemProvider(this);
		}

		return systemModelItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.DataType} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected DataTypeItemProvider dataTypeItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.DataType}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createDataTypeAdapter() {
		if (dataTypeItemProvider == null) {
			dataTypeItemProvider = new DataTypeItemProvider(this);
		}

		return dataTypeItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.Entity} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected EntityItemProvider entityItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.Entity}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createEntityAdapter() {
		if (entityItemProvider == null) {
			entityItemProvider = new EntityItemProvider(this);
		}

		return entityItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.Attribute} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected AttributeItemProvider attributeItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.Attribute}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createAttributeAdapter() {
		if (attributeItemProvider == null) {
			attributeItemProvider = new AttributeItemProvider(this);
		}

		return attributeItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.J2eeBusinessComponent} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected J2eeBusinessComponentItemProvider j2eeBusinessComponentItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.J2eeBusinessComponent}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createJ2eeBusinessComponentAdapter() {
		if (j2eeBusinessComponentItemProvider == null) {
			j2eeBusinessComponentItemProvider = new J2eeBusinessComponentItemProvider(this);
		}

		return j2eeBusinessComponentItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.J2eeRestComponent} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected J2eeRestComponentItemProvider j2eeRestComponentItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.J2eeRestComponent}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createJ2eeRestComponentAdapter() {
		if (j2eeRestComponentItemProvider == null) {
			j2eeRestComponentItemProvider = new J2eeRestComponentItemProvider(this);
		}

		return j2eeRestComponentItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.RestServiceParameter} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected RestServiceParameterItemProvider restServiceParameterItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.RestServiceParameter}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createRestServiceParameterAdapter() {
		if (restServiceParameterItemProvider == null) {
			restServiceParameterItemProvider = new RestServiceParameterItemProvider(this);
		}

		return restServiceParameterItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.dotNetRestComponent} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected dotNetRestComponentItemProvider dotNetRestComponentItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.dotNetRestComponent}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createdotNetRestComponentAdapter() {
		if (dotNetRestComponentItemProvider == null) {
			dotNetRestComponentItemProvider = new dotNetRestComponentItemProvider(this);
		}

		return dotNetRestComponentItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.dotNetBusinessComponent} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected dotNetBusinessComponentItemProvider dotNetBusinessComponentItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.dotNetBusinessComponent}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createdotNetBusinessComponentAdapter() {
		if (dotNetBusinessComponentItemProvider == null) {
			dotNetBusinessComponentItemProvider = new dotNetBusinessComponentItemProvider(this);
		}

		return dotNetBusinessComponentItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.J2eeBusinessService} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected J2eeBusinessServiceItemProvider j2eeBusinessServiceItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.J2eeBusinessService}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createJ2eeBusinessServiceAdapter() {
		if (j2eeBusinessServiceItemProvider == null) {
			j2eeBusinessServiceItemProvider = new J2eeBusinessServiceItemProvider(this);
		}

		return j2eeBusinessServiceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.dotNetBusinessService} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected dotNetBusinessServiceItemProvider dotNetBusinessServiceItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.dotNetBusinessService}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createdotNetBusinessServiceAdapter() {
		if (dotNetBusinessServiceItemProvider == null) {
			dotNetBusinessServiceItemProvider = new dotNetBusinessServiceItemProvider(this);
		}

		return dotNetBusinessServiceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.Constraint} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ConstraintItemProvider constraintItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.Constraint}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createConstraintAdapter() {
		if (constraintItemProvider == null) {
			constraintItemProvider = new ConstraintItemProvider(this);
		}

		return constraintItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.J2eeRestService} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected J2eeRestServiceItemProvider j2eeRestServiceItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.J2eeRestService}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createJ2eeRestServiceAdapter() {
		if (j2eeRestServiceItemProvider == null) {
			j2eeRestServiceItemProvider = new J2eeRestServiceItemProvider(this);
		}

		return j2eeRestServiceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.dotNetRestService} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected dotNetRestServiceItemProvider dotNetRestServiceItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.dotNetRestService}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createdotNetRestServiceAdapter() {
		if (dotNetRestServiceItemProvider == null) {
			dotNetRestServiceItemProvider = new dotNetRestServiceItemProvider(this);
		}

		return dotNetRestServiceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.FeatureType} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected FeatureTypeItemProvider featureTypeItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.FeatureType}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createFeatureTypeAdapter() {
		if (featureTypeItemProvider == null) {
			featureTypeItemProvider = new FeatureTypeItemProvider(this);
		}

		return featureTypeItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.ServiceParameter} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ServiceParameterItemProvider serviceParameterItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.ServiceParameter}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createServiceParameterAdapter() {
		if (serviceParameterItemProvider == null) {
			serviceParameterItemProvider = new ServiceParameterItemProvider(this);
		}

		return serviceParameterItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.BusinessServiceParameter} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected BusinessServiceParameterItemProvider businessServiceParameterItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.BusinessServiceParameter}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createBusinessServiceParameterAdapter() {
		if (businessServiceParameterItemProvider == null) {
			businessServiceParameterItemProvider = new BusinessServiceParameterItemProvider(this);
		}

		return businessServiceParameterItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.Literal} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected LiteralItemProvider literalItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.Literal}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createLiteralAdapter() {
		if (literalItemProvider == null) {
			literalItemProvider = new LiteralItemProvider(this);
		}

		return literalItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.Enumeration} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected EnumerationItemProvider enumerationItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.Enumeration}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createEnumerationAdapter() {
		if (enumerationItemProvider == null) {
			enumerationItemProvider = new EnumerationItemProvider(this);
		}

		return enumerationItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.Association} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected AssociationItemProvider associationItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.Association}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createAssociationAdapter() {
		if (associationItemProvider == null) {
			associationItemProvider = new AssociationItemProvider(this);
		}

		return associationItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.AssociationEnd} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected AssociationEndItemProvider associationEndItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.AssociationEnd}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createAssociationEndAdapter() {
		if (associationEndItemProvider == null) {
			associationEndItemProvider = new AssociationEndItemProvider(this);
		}

		return associationEndItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.OSGiRestService} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected OSGiRestServiceItemProvider osGiRestServiceItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.OSGiRestService}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createOSGiRestServiceAdapter() {
		if (osGiRestServiceItemProvider == null) {
			osGiRestServiceItemProvider = new OSGiRestServiceItemProvider(this);
		}

		return osGiRestServiceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.OSGiBusinessComponent} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected OSGiBusinessComponentItemProvider osGiBusinessComponentItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.OSGiBusinessComponent}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createOSGiBusinessComponentAdapter() {
		if (osGiBusinessComponentItemProvider == null) {
			osGiBusinessComponentItemProvider = new OSGiBusinessComponentItemProvider(this);
		}

		return osGiBusinessComponentItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.OSGiBusinessService} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected OSGiBusinessServiceItemProvider osGiBusinessServiceItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.OSGiBusinessService}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createOSGiBusinessServiceAdapter() {
		if (osGiBusinessServiceItemProvider == null) {
			osGiBusinessServiceItemProvider = new OSGiBusinessServiceItemProvider(this);
		}

		return osGiBusinessServiceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.OSGiRestComponent} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected OSGiRestComponentItemProvider osGiRestComponentItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.OSGiRestComponent}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createOSGiRestComponentAdapter() {
		if (osGiRestComponentItemProvider == null) {
			osGiRestComponentItemProvider = new OSGiRestComponentItemProvider(this);
		}

		return osGiRestComponentItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.Exception} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ExceptionItemProvider exceptionItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.Exception}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createExceptionAdapter() {
		if (exceptionItemProvider == null) {
			exceptionItemProvider = new ExceptionItemProvider(this);
		}

		return exceptionItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.ReturnType} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ReturnTypeItemProvider returnTypeItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.ReturnType}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createReturnTypeAdapter() {
		if (returnTypeItemProvider == null) {
			returnTypeItemProvider = new ReturnTypeItemProvider(this);
		}

		return returnTypeItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.Property} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected PropertyItemProvider propertyItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.Property}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createPropertyAdapter() {
		if (propertyItemProvider == null) {
			propertyItemProvider = new PropertyItemProvider(this);
		}

		return propertyItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link sysmodel.GeneratorModel} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected GeneratorModelItemProvider generatorModelItemProvider;

	/**
	 * This creates an adapter for a {@link sysmodel.GeneratorModel}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter createGeneratorModelAdapter() {
		if (generatorModelItemProvider == null) {
			generatorModelItemProvider = new GeneratorModelItemProvider(this);
		}

		return generatorModelItemProvider;
	}

	/**
	 * This returns the root adapter factory that contains this factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ComposeableAdapterFactory getRootAdapterFactory() {
		return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
	}

	/**
	 * This sets the composed adapter factory that contains this factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
		this.parentAdapterFactory = parentAdapterFactory;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public boolean isFactoryForType(Object type) {
		return supportedTypes.contains(type) || super.isFactoryForType(type);
	}

	/**
	 * This implementation substitutes the factory itself as the key for the adapter.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Adapter adapt(Notifier notifier, Object type) {
		return super.adapt(notifier, this);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Object adapt(Object object, Object type) {
		if (isFactoryForType(type)) {
			Object adapter = super.adapt(object, type);
			if (!(type instanceof Class) || (((Class)type).isInstance(adapter))) {
				return adapter;
			}
		}

		return null;
	}

	/**
	 * This adds a listener.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void addListener(INotifyChangedListener notifyChangedListener) {
		changeNotifier.addListener(notifyChangedListener);
	}

	/**
	 * This removes a listener.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void removeListener(INotifyChangedListener notifyChangedListener) {
		changeNotifier.removeListener(notifyChangedListener);
	}

	/**
	 * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void fireNotifyChanged(Notification notification) {
		changeNotifier.fireNotifyChanged(notification);

		if (parentAdapterFactory != null) {
			parentAdapterFactory.fireNotifyChanged(notification);
		}
	}

	/**
	 * This disposes all of the item providers created by this factory. 
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void dispose() {
		if (systemModelItemProvider != null) systemModelItemProvider.dispose();
		if (dataTypeItemProvider != null) dataTypeItemProvider.dispose();
		if (entityItemProvider != null) entityItemProvider.dispose();
		if (attributeItemProvider != null) attributeItemProvider.dispose();
		if (j2eeBusinessComponentItemProvider != null) j2eeBusinessComponentItemProvider.dispose();
		if (j2eeRestComponentItemProvider != null) j2eeRestComponentItemProvider.dispose();
		if (restServiceParameterItemProvider != null) restServiceParameterItemProvider.dispose();
		if (dotNetRestComponentItemProvider != null) dotNetRestComponentItemProvider.dispose();
		if (dotNetBusinessComponentItemProvider != null) dotNetBusinessComponentItemProvider.dispose();
		if (j2eeBusinessServiceItemProvider != null) j2eeBusinessServiceItemProvider.dispose();
		if (dotNetBusinessServiceItemProvider != null) dotNetBusinessServiceItemProvider.dispose();
		if (constraintItemProvider != null) constraintItemProvider.dispose();
		if (j2eeRestServiceItemProvider != null) j2eeRestServiceItemProvider.dispose();
		if (dotNetRestServiceItemProvider != null) dotNetRestServiceItemProvider.dispose();
		if (featureTypeItemProvider != null) featureTypeItemProvider.dispose();
		if (serviceParameterItemProvider != null) serviceParameterItemProvider.dispose();
		if (businessServiceParameterItemProvider != null) businessServiceParameterItemProvider.dispose();
		if (literalItemProvider != null) literalItemProvider.dispose();
		if (enumerationItemProvider != null) enumerationItemProvider.dispose();
		if (associationItemProvider != null) associationItemProvider.dispose();
		if (associationEndItemProvider != null) associationEndItemProvider.dispose();
		if (osGiRestServiceItemProvider != null) osGiRestServiceItemProvider.dispose();
		if (osGiBusinessComponentItemProvider != null) osGiBusinessComponentItemProvider.dispose();
		if (osGiBusinessServiceItemProvider != null) osGiBusinessServiceItemProvider.dispose();
		if (osGiRestComponentItemProvider != null) osGiRestComponentItemProvider.dispose();
		if (exceptionItemProvider != null) exceptionItemProvider.dispose();
		if (returnTypeItemProvider != null) returnTypeItemProvider.dispose();
		if (propertyItemProvider != null) propertyItemProvider.dispose();
		if (generatorModelItemProvider != null) generatorModelItemProvider.dispose();
	}

}
